package com.lagou.service;

import com.lagou.model.LagouUser;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiaohuzi
 * @since 2022-03-26
 */
public interface ILagouUserService extends IService<LagouUser> {

    // 判断邮箱是否已注册

    boolean isEmailRegister(String email);

    // 新增用户
    void addUser(String password,String email);

    LagouUser getUserByMailAndPassword(String mail,String password);
}
